package cn.silver.framework.excel.annotation;

import cn.silver.framework.excel.core.CellMergeStrategy;

import java.lang.annotation.*;

/**
 * excel 列单元格合并(合并列相同项)
 * 需搭配 {@link CellMergeStrategy} 策略使用
 *
 * @author Silver Zhou
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ExcelCellMerge {

    /**
     * col index
     */
    int index() default -1;

}
